public class CastSkill:Action
{
public int magicId;
public override void OnStart()
{
if(magicId ==0)//If magicId is set in the inspector, Then it should not be changed.
magicId = SkillManager.Instance.CurrentSkillID;//Otherwise it should be changed by...
https://github.com/Tencent/TscanCode
We use TscanCode to make our project robust.
If there are errors, we have to fix them.
For example:
BehaviorSource.cs line="76" msg="comparing [mTaskData] to null at line 73 implies that [mTaskData] might be null.Dereferencing null pointer [mTaskData]"...
It shows nothing in Inspector.
It is truncated on the right.
I can't debug well.
Could you make it overflow so I can see all the enum?
[Flags]
public enum Buffstate2:long
{
WorldLvPurse= (1L << 1),
MOFADUN = (1L <<2),
}