void Start() { RebuildQueue(); processQueues = true; #if !UNITY_EDITOR && UNITY_ANDROID ElephantAndroid.Init(); #endif }
void Awake() { if (Instance == null) { Instance = this; } else if (Instance != null && Instance != this) { Destroy(gameObject); return; } DontDestroyOnLoad(gameObject); #if !UNITY_EDITOR && UNITY_ANDROID ElephantAndroid.Init(); #endif }