C# 클래스 GameFramework.Skill.Trigers.TriggerUtil

파일 보기 프로젝트 열기: dreamanlan/CSharpGameFramework 1 사용 예제들

공개 메소드들

메소드 설명
AoeQuery ( GameObject srcObj, GameObject targetObj, int aoeType, float range, float angleOrLength, SkillInstance instance, int senderId, int targetType, Vector3 relativeCenter, bool relativeToTarget, MyFunc callback ) : void
AoeQuery ( Scene scene, EntityInfo srcObj, EntityInfo targetObj, int aoeType, float range, float angleOrLength, SkillInstance instance, int senderId, int targetType, Vector3 relativeCenter, bool relativeToTarget, MyFunc callback ) : void
AttachNodeToNode ( GameObject source, string sourcenode, GameObject target, string targetnode ) : bool
DrawCircle ( Vector3 center, float radius, Color color, float circle_step = 0.05f ) : GameObject
FiltByRelation ( GameObject source, List list, GameFramework relation ) : List
FindTargetInSector ( Vector3 center, float radius, Vector3 direction, Vector3 degreeCenter, float degree ) : List
GetChildNodeByName ( GameObject gameobj, string name ) : Transform
GetHeightWithGround ( GameObject obj ) : float
GetObjFaceDir ( GameObject obj ) : float
GetObjectByPriority ( GameObject source, List list, float distance_priority, float degree_priority, float max_distance, float max_degree ) : GameObject
GetSkillStartPosition ( Vector3 srcPos, TableConfig cfg, SkillInstance instance, int srcId, int targetId, Vector3 &targetPos ) : bool
Lookat ( GameObject obj, Vector3 target ) : void
Lookat ( GameObject obj, Vector3 target, float rotateDegree ) : void
MoveChildToNode ( GameObject obj, string childname, string nodename ) : void
MoveObjTo ( GameObject obj, Vector3 position ) : void
SetObjVisible ( GameObject obj, bool isShow ) : void

비공개 메소드들

메소드 설명
AoeQuery ( GfxSkillSenderInfo senderObj, SkillInstance instance, int senderId, int targetType, Vector3 relativeCenter, bool relativeToTarget, MyFunc callback ) : void
CalcImpactConfig ( int emitImpact, int hitImpact, SkillInstance instance, TableConfig cfg, object>.Dictionary &result ) : void
ConvertToSecond ( long delta ) : float
FindTargetInSector ( Scene scene, Vector3 center, float radius, Vector3 direction, Vector3 degreeCenter, float degree ) : List
FloatEqual ( float a, float b ) : bool
GetGroundPos ( Vector3 pos ) : Vector3
GetHeightWithGround ( EntityInfo obj ) : float
GetHeightWithGround ( Vector3 pos ) : float
GetObjFaceDir ( EntityInfo obj ) : float
GetSkillImpactId ( object>.Dictionary variables, TableConfig cfg ) : int
Lookat ( Scene scene, EntityInfo obj, Vector3 target ) : void
Lookat ( Scene scene, EntityInfo obj, Vector3 target, float rotateDegree ) : void
MoveObjTo ( EntityInfo obj, Vector3 position ) : void
SetObjVisible ( EntityInfo obj, bool isShow ) : void
TransformPoint ( Vector3 pos, Vector3 offset, float radian ) : Vector3

메소드 상세

AoeQuery() 공개 정적인 메소드

public static AoeQuery ( GameObject srcObj, GameObject targetObj, int aoeType, float range, float angleOrLength, SkillInstance instance, int senderId, int targetType, Vector3 relativeCenter, bool relativeToTarget, MyFunc callback ) : void
srcObj UnityEngine.GameObject
targetObj UnityEngine.GameObject
aoeType int
range float
angleOrLength float
instance SkillSystem.SkillInstance
senderId int
targetType int
relativeCenter Vector3
relativeToTarget bool
callback MyFunc
리턴 void

AoeQuery() 공개 정적인 메소드

public static AoeQuery ( Scene scene, EntityInfo srcObj, EntityInfo targetObj, int aoeType, float range, float angleOrLength, SkillInstance instance, int senderId, int targetType, Vector3 relativeCenter, bool relativeToTarget, MyFunc callback ) : void
scene Scene
srcObj EntityInfo
targetObj EntityInfo
aoeType int
range float
angleOrLength float
instance SkillSystem.SkillInstance
senderId int
targetType int
relativeCenter Vector3
relativeToTarget bool
callback MyFunc
리턴 void

AttachNodeToNode() 공개 정적인 메소드

public static AttachNodeToNode ( GameObject source, string sourcenode, GameObject target, string targetnode ) : bool
source UnityEngine.GameObject
sourcenode string
target UnityEngine.GameObject
targetnode string
리턴 bool

DrawCircle() 공개 정적인 메소드

public static DrawCircle ( Vector3 center, float radius, Color color, float circle_step = 0.05f ) : GameObject
center Vector3
radius float
color Color
circle_step float
리턴 UnityEngine.GameObject

FiltByRelation() 공개 정적인 메소드

public static FiltByRelation ( GameObject source, List list, GameFramework relation ) : List
source UnityEngine.GameObject
list List
relation GameFramework
리턴 List

FindTargetInSector() 공개 정적인 메소드

public static FindTargetInSector ( Vector3 center, float radius, Vector3 direction, Vector3 degreeCenter, float degree ) : List
center Vector3
radius float
direction Vector3
degreeCenter Vector3
degree float
리턴 List

GetChildNodeByName() 공개 정적인 메소드

public static GetChildNodeByName ( GameObject gameobj, string name ) : Transform
gameobj UnityEngine.GameObject
name string
리턴 UnityEngine.Transform

GetHeightWithGround() 공개 정적인 메소드

public static GetHeightWithGround ( GameObject obj ) : float
obj UnityEngine.GameObject
리턴 float

GetObjFaceDir() 공개 정적인 메소드

public static GetObjFaceDir ( GameObject obj ) : float
obj UnityEngine.GameObject
리턴 float

GetObjectByPriority() 공개 정적인 메소드

public static GetObjectByPriority ( GameObject source, List list, float distance_priority, float degree_priority, float max_distance, float max_degree ) : GameObject
source UnityEngine.GameObject
list List
distance_priority float
degree_priority float
max_distance float
max_degree float
리턴 UnityEngine.GameObject

GetSkillStartPosition() 공개 정적인 메소드

public static GetSkillStartPosition ( Vector3 srcPos, TableConfig cfg, SkillInstance instance, int srcId, int targetId, Vector3 &targetPos ) : bool
srcPos Vector3
cfg TableConfig
instance SkillSystem.SkillInstance
srcId int
targetId int
targetPos Vector3
리턴 bool

Lookat() 공개 정적인 메소드

public static Lookat ( GameObject obj, Vector3 target ) : void
obj UnityEngine.GameObject
target Vector3
리턴 void

Lookat() 공개 정적인 메소드

public static Lookat ( GameObject obj, Vector3 target, float rotateDegree ) : void
obj UnityEngine.GameObject
target Vector3
rotateDegree float
리턴 void

MoveChildToNode() 공개 정적인 메소드

public static MoveChildToNode ( GameObject obj, string childname, string nodename ) : void
obj UnityEngine.GameObject
childname string
nodename string
리턴 void

MoveObjTo() 공개 정적인 메소드

public static MoveObjTo ( GameObject obj, Vector3 position ) : void
obj UnityEngine.GameObject
position Vector3
리턴 void

SetObjVisible() 공개 정적인 메소드

public static SetObjVisible ( GameObject obj, bool isShow ) : void
obj UnityEngine.GameObject
isShow bool
리턴 void