コード例 #1
0
ファイル: Splat.cs プロジェクト: JakubM97/Never-Surrender
 public void Initialized(SplatLocation splatLocation)
 {
     this.splatLocation = splatLocation;
     SetSprite();
     SetSize();
     SetRotation();
     SetLocationProperties();
 }
コード例 #2
0
    public void CreateSplat(SplatLocation splatLocation)
    {
        this.splatLocation = splatLocation;

        SetRandomSize();
        SetLocation();
        SetRandomRotation();
        SetRandomSprite();
    }
コード例 #3
0
ファイル: Splat.cs プロジェクト: JulienAldon/EscapeTheVolcano
    public void Initialize(SplatLocation _splatLocation)
    {
        spriteRenderer     = GetComponent <SpriteRenderer>();
        this.splatLocation = _splatLocation;
        SetSprite();
        SetSize();
        SetRotation();

        SetLocationProperties();
    }