当前位置: 首页>>代码示例>>C#>>正文


C# Hero.xyz方法代码示例

本文整理汇总了C#中Hero.xyz方法的典型用法代码示例。如果您正苦于以下问题:C# Hero.xyz方法的具体用法?C# Hero.xyz怎么用?C# Hero.xyz使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Hero的用法示例。


在下文中一共展示了Hero.xyz方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnHeroHitHead

 public GameObject OnHeroHitHead(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.HitHead, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例2: OnHeroJumped

 public GameObject OnHeroJumped(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.Jump, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例3: OnHeroFire

 public GameObject OnHeroFire(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.Fire, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例4: OnHeroGrowComplete

 public GameObject OnHeroGrowComplete(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.GrowComplete, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例5: OnMatchWon

 public GameObject OnMatchWon(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.MatchWon, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例6: OnHeroAboutToWin

 public GameObject OnHeroAboutToWin(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.HeroAboutToWin, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例7: OnHeroStompStart

 public GameObject OnHeroStompStart(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.StompStart, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例8: OnHeroRespawn

 public GameObject OnHeroRespawn(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.Respawn, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例9: OnHeroReachedMaxSize

 public GameObject OnHeroReachedMaxSize(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.HeroReachedMaxSize, hero.xyz());
 }
开发者ID:nicharesuk,项目名称:teamjollygame2,代码行数:4,代码来源:SoundFX.cs

示例10: OnHeroDies

 public GameObject OnHeroDies(Hero hero)
 {
     return AudioSourceExt.PlayRandomClipAtPoint (this.HeroDies, hero.xyz(),  0.2f);
 }
开发者ID:BrianShiau,项目名称:TeamGimli,代码行数:4,代码来源:SoundFX.cs

示例11: OnMatchWon

 public GameObject OnMatchWon(Hero hero, int index)
 {
     if (index == 1) {
         return AudioSourceExt.PlayRandomClipAtPoint (this.MatchWon, hero.xyz ());
     }
     if (index == 2) {
         return AudioSourceExt.PlayRandomClipAtPoint (this.MatchWon1, hero.xyz ());
     }
     if (index == 3) {
         return AudioSourceExt.PlayRandomClipAtPoint (this.MatchWon2, hero.xyz ());
     }
     return AudioSourceExt.PlayRandomClipAtPoint (this.MatchWon3, hero.xyz ());
 }
开发者ID:BrianShiau,项目名称:TeamGimli,代码行数:13,代码来源:SoundFX.cs


注:本文中的Hero.xyz方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。