|
Battle Talent
V11
|
Used to play special effects, the effect resource needs to be added EffectObj component Effect resources need to be located under the path of "Effect/" More...
Inherits CrossLink.CoreMgr.
Public Member Functions | |
| override void | OnStateClear () |
| void | Clear () |
| void | ClearEffect (string name) |
| EffectObj | PlayEffect (string name, Vector3 pos, Quaternion rot, int netId=-1, uint netSimpleId=0) |
| void | Cache (string name, int num) |
| void | GiveBack (EffectObj obj, int netId=-1) |
| Transform | GetEffectRoot () |
Public Member Functions inherited from CrossLink.CoreMgr | |
| virtual void | OnInit () |
| virtual void | OnRelease () |
Static Public Member Functions | |
| static int | GetEffectObjNetId () |
| static EffectObj | GetNetEffectObj (int netId) |
Static Public Attributes | |
| static List< EffectObj > | netEffectObjs = new List<EffectObj>() |
| static SortedList< uint, EffectObj > | netSimpleEffectObjs = new SortedList<uint, EffectObj>() |
| static EffectMgr | Instance = new EffectMgr() |
Used to play special effects, the effect resource needs to be added EffectObj component Effect resources need to be located under the path of "Effect/"