chrisgregan
10 years ago
18 changed files with 72 additions and 6 deletions
@ -0,0 +1,20 @@
|
||||
using UnityEngine; |
||||
using System.Collections; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
[CommandInfo("iTween", |
||||
"Stop Tween", |
||||
"Stops an active iTween by name.")] |
||||
public class StopTween : Command |
||||
{ |
||||
public string tweenName; |
||||
|
||||
public override void OnEnter() |
||||
{ |
||||
iTween.StopByName(tweenName); |
||||
Continue(); |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: e7026a0b1ea104ec0af471324ee3daea |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
@ -0,0 +1,18 @@
|
||||
using UnityEngine; |
||||
using System.Collections; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
[CommandInfo("iTween", |
||||
"Stop Tweens", |
||||
"Stop all active iTweens in the current scene.")] |
||||
public class StopTweens : Command |
||||
{ |
||||
public override void OnEnter() |
||||
{ |
||||
iTween.Stop(); |
||||
Continue(); |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 46af98f4c7e084a5a96eb982e7271174 |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
Loading…
Reference in new issue