private void Start() { fxPool = FindObjectOfType <FxPool>(); }
void Awake() { Instance = this; }
public void OnDestroy() { Instance = null; }
public void RequestFx(FxPool pool, Vector3 position, Quaternion rotation, Transform parent = null) { pool.RequestFx(parent, position, rotation); }
public static void DestroyInstance() { Instance = null; }
public static void CreasteInstance() { Instance = new FxPool(); }