Skip to main content

LocalNetworkScene.InitializeOnAwake

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Helper LocalNetworkScene adds to an inactive entity so it is initialized when it first wakes.

Constructors​

MemberWhat it is
InitializeOnAwake()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

1 private and internal method
MemberWhat it is
private void Awake()Initializes this object's NetworkEntity through the current LocalNetworkScene.