Skip to content

Instantly share code, notes, and snippets.

@gamebox777
Created November 16, 2019 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gamebox777/1e409fcf2cddccb2f229ce96ff60d8e8 to your computer and use it in GitHub Desktop.
Save gamebox777/1e409fcf2cddccb2f229ce96ff60d8e8 to your computer and use it in GitHub Desktop.
ObiFluidテスト1
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