public void OnStart()
 {
     sound = gameObject.RequireComponent<CSound>();
     fx = Common.GetStealthPlayerCamera().RequireComponent<CArtifactFX>();
     //sound.PlayIndependentEvent("CREATURE_CLOSE.vente", true, 1);
     Activated = false;
     currTime = MaxTime;
     fx.mBlockThreshold = 0.0f;
     fx.mLineThreshold = 0.0f;
 }
 public void OnStart()
 {
     zone = GameObject.GetGameObjectByName("scp_zone").RequireComponent<CZone>();
     rand = new Random();
     target = null;
     speed = new Vector3(.3f,.8f,-.5f);
     sound = gameObject.RequireComponent<CSound>();
     fx = GameObject.GetGameObjectByName("Camera").RequireComponent<CArtifactFX>();
     sound.PlayIndependentEvent("CREATURE_CLOSE.vente", true, 1);
 }
 public void OnStart()
 {
     sound = gameObject.RequireComponent<CSound>();
     fx = Common.GetStealthPlayerCamera().RequireComponent<CArtifactFX>();
     sound.PlayIndependentEvent("CREATURE_CLOSE.vente", true, 1);
 }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CArtifactFX obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CArtifactFX obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }