Last active
August 29, 2015 14:15
-
-
Save jake1256/540bd092e7aa708b3f95 to your computer and use it in GitHub Desktop.
【Unity】ParticleとLineRendererで◯めはめ波を作ろう! ref: http://qiita.com/kuuki_yomenaio/items/85f0233822ccc5272d1e
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
int layerMask = LayerMask.GetMask("Enemy"); | |
if(Physics.Raycast(shotRay , out shotHit , range , layerMask)){ | |
// enemyに当たった時だけここにくる | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment