public static OverLoad operator +(OverLoad arr1, OverLoad arr2) { OverLoad arrResult = new OverLoad(); for (int index = 0; index < 5; index++) { arrResult.Arr[index] = arr1.Arr[index] + arr2.Arr[index]; } return(arrResult); }
public override void CastSkill() { base.CastSkill(); if (target != null) { Debug.Log(target); OverLoad.rate = speedUpRate; OverLoad overLoad = target.AddComponent <OverLoad>(); Destroy(overLoad, stillTime); FinishCast(); } }
public static bool operator ==(OverLoad arr1, OverLoad arr2) { OverLoad arrResult = new OverLoad(); for (int index = 0; index < arrResult.Arr.Length; index++) { if (arr1.Arr[index] != arr2.Arr[index]) { arrResult.check = false; } } return(arrResult.check); }
public OverLoadModify(OverLoad next, IReadOnlyList<TypeSymbol> parameters) { Next = next; Parameters = parameters; }