/// <summary> /// Sets the prerequisites for this tick function. /// </summary> /// <param name="prerequisites">The prerequisites to use for this tick function.</param> public void SetPrerequisites(FTickPrerequisite[] prerequisites) { TArrayUnsafeRef <FTickPrerequisite> prerequisitesUnsafe = new TArrayUnsafeRef <FTickPrerequisite>(Native_FTickFunction.GetPrerequisites(Address)); prerequisitesUnsafe.Clear(); if (prerequisites != null) { prerequisitesUnsafe.AddRange(prerequisites); } }
/// <summary> /// Gets the prerequisites for this tick function. /// </summary> public FTickPrerequisite[] GetPrerequisites() { return(new TArrayUnsafeRef <FTickPrerequisite>(Native_FTickFunction.GetPrerequisites(Address)).ToArray()); }