chrisgregan
11 years ago
17 changed files with 29 additions and 67 deletions
@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 623a31d1ed64f48c18a2941fb2e6bb4b |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
userData: |
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 2830c354320dd41fb8c7fe61f592942c |
||||
NativeFormatImporter: |
||||
userData: |
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: a55e55be9295f4b9db04d66b1f66612c |
||||
NativeFormatImporter: |
||||
userData: |
@ -1,25 +0,0 @@
|
||||
using UnityEngine; |
||||
using System.Collections; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
/** |
||||
* Listener component to handle animation events. |
||||
* Usage: |
||||
* 1. Attach this script to the animated sprite that you want to listen to for events. |
||||
* 2. Add an event on the animation timeline |
||||
* 3. Edit the event and choose the 'CallRoomMethod' function |
||||
* 4. In the string parameters box, enter the name of the method to call in the active Room's script. |
||||
*/ |
||||
public class AnimationListener : MonoBehaviour |
||||
{ |
||||
/** |
||||
* Handler method for animation events. |
||||
* The string event parameter is used to call a named method on the active room class
|
||||
*/ |
||||
void CallRoomMethod(string methodName) |
||||
{ |
||||
// TODO: Execute a FungusScript sequence |
||||
} |
||||
} |
||||
} |
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 6876254e624e04c9c9e4d2d9edb2901c |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
Binary file not shown.
Loading…
Reference in new issue