Class WarfareLifetimeComponent
A component that is alive as long as the plugin is active.
[GenerateRpcSource]
[RpcGeneratedProxyType(TypeSetupMethodName = "__ModularRpcsGeneratedSetupStaticGeneratedProxy")]
public class WarfareLifetimeComponent : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourWarfareLifetimeComponent
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.GetComponentIndex()Component.transformComponent.gameObjectComponent.tagObject.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.InstantiateAsync<T>(T, InstantiateParameters)Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
Can be used as the target for coroutines, UniTask functions, etc.
Properties
QueuedShutdownType
public ShutdownMode QueuedShutdownType { get; }
Property Value
ShutdownReason
public string? ShutdownReason { get; }
Property Value
ShutdownTime
public DateTime ShutdownTime { get; }
Property Value
Methods
CancelShutdown()
[RpcReceive]
public void CancelShutdown()
GetShutdownReason()
[RpcReceive]
public string GetShutdownReason()
Returns
QueueShutdownAtLayoutEnd(string?)
[RpcReceive]
public void QueueShutdownAtLayoutEnd(string? shutdownReason = null)
Parameters
shutdownReasonstring
QueueShutdownInTime(TimeSpan, string?)
[RpcReceive]
public void QueueShutdownInTime(TimeSpan time, string? shutdownReason = null)
Parameters
QueueShutdownInstant(string?)
[RpcReceive]
public void QueueShutdownInstant(string? shutdownReason = null)
Parameters
shutdownReasonstring
SendShutdownUpdate(string, bool)
[RpcSend]
protected RpcTask SendShutdownUpdate(string str, bool isShuttingDownNow)
Parameters
Returns
- RpcTask