public static VFXController CreateDefault() { VFXController controllerPrefab = Resources.Load <VFXController> ("VFXController"); instance = Instantiate(controllerPrefab); return(instance); }
private void Awake() { m_HashPickupEffect = VFXController.StringToHash(pickupEffect); }
private void Awake() { VFX_HASH = VFXController.StringToHash(vfxName); mainCamera = Camera.main; }