This file contains hidden or 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
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
// Edits by Glynn Taylor. MIT license | |
// Includes code for splitmap by https://twitter.com/adamgryu and triplanar mapping by https://github.com/keijiro. MIT License | |
#ifndef TERRAIN_SPLATMAP_COMMON_CGINC_INCLUDED | |
#define TERRAIN_SPLATMAP_COMMON_CGINC_INCLUDED | |
struct Input | |
{ | |
float3 localNormal : TEXCOORD0; |
This file contains hidden or 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
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
// Edits by Glynn Taylor. MIT license | |
// Includes code for splitmap by https://twitter.com/adamgryu and triplanar mapping by https://github.com/keijiro. MIT License | |
#ifndef TERRAIN_SPLATMAP_COMMON_CGINC_INCLUDED | |
#define TERRAIN_SPLATMAP_COMMON_CGINC_INCLUDED | |
struct Input | |
{ | |
float3 localNormal : TEXCOORD0; |
This file contains hidden or 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
// NOTE DONT put in an editor folder | |
using UnityEngine; | |
public class StatsBarAttribute : PropertyAttribute | |
{ | |
public string valueMax; | |
public StatsBarColor color; | |
public StatsBarAttribute(string valueMax = null, StatsBarColor color = StatsBarColor.Red) |
This file contains hidden or 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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Game : MonoBehaviour | |
{ | |
public static Game instance; | |
public Player player; | |
public int score = 0; |