예제 #1
0
        /// <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);
            }
        }
예제 #2
0
 /// <summary>
 /// Gets the prerequisites for this tick function.
 /// </summary>
 public              FTickPrerequisite[] GetPrerequisites()
 {
     return(new TArrayUnsafeRef <FTickPrerequisite>(Native_FTickFunction.GetPrerequisites(Address)).ToArray());
 }