//---------------------- // Protected Variables //======================================== // setter / getter //------------------------------ //======================================== // Unity's function //------------------------------ private void Awake() { instance = this; // get all the scene layer in the scene. // so it could be manage mJCSOrderLayer = JCS_Utility.FindObjectsOfTypeAllInHierarchy <JCS_OrderLayer>(); }