Created
November 16, 2019 10:07
-
-
Save gamebox777/1e409fcf2cddccb2f229ce96ff60d8e8 to your computer and use it in GitHub Desktop.
ObiFluidテスト1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Obi | |
{ | |
public class ObiTest : MonoBehaviour | |
{ | |
public ObiEmitter mObiEmitter; | |
// Update is called once per frame | |
void Update() | |
{ | |
if( Input.GetMouseButton(0) ) | |
{ | |
mObiEmitter.speed = 10f; | |
} | |
else | |
{ | |
mObiEmitter.speed = 0f; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment