Skip to content

Commit

Permalink
Added controls in Zona
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos2380 committed Oct 16, 2018
1 parent 9ed4f98 commit 91f8717
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ShowPT/Assets/Scenes/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -32954,6 +32954,7 @@ MonoBehaviour:
- {fileID: 2800000, guid: 430eaf621f3cea447ad641e667fec009, type: 3}
- {fileID: 2800000, guid: 46607fdedcb60354c98e07a94962a0ea, type: 3}
- {fileID: 2800000, guid: 6d04c07a78cd3274dabcefd5f6707612, type: 3}
positionMaterial: 1
--- !u!1 &350512470
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -118330,6 +118331,7 @@ MonoBehaviour:
- {fileID: 2800000, guid: 805b8ffa2c6f46c45bce8f02a936db43, type: 3}
- {fileID: 2800000, guid: d2ee893a22d6fc943a9e280714cbfa43, type: 3}
- {fileID: 2800000, guid: decfec47564df294ba14b37f9d2c4eae, type: 3}
positionMaterial: 1
--- !u!1 &1167832265
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -202926,6 +202928,7 @@ MonoBehaviour:
- {fileID: 2800000, guid: 430eaf621f3cea447ad641e667fec009, type: 3}
- {fileID: 2800000, guid: 46607fdedcb60354c98e07a94962a0ea, type: 3}
- {fileID: 2800000, guid: 6d04c07a78cd3274dabcefd5f6707612, type: 3}
positionMaterial: 0
--- !u!114 &2139028099
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -202944,6 +202947,7 @@ MonoBehaviour:
- {fileID: 2800000, guid: 805b8ffa2c6f46c45bce8f02a936db43, type: 3}
- {fileID: 2800000, guid: d2ee893a22d6fc943a9e280714cbfa43, type: 3}
- {fileID: 2800000, guid: decfec47564df294ba14b37f9d2c4eae, type: 3}
positionMaterial: 0
--- !u!1 &2142236561
GameObject:
m_ObjectHideFlags: 0
Expand Down
3 changes: 2 additions & 1 deletion ShowPT/Assets/Scripts/Localization/ChangeEmisionControls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ public class ChangeEmisionControls : MonoBehaviour
{

public Texture2D[] emisionTextures;
public int positionMaterial;
// Use this for initialization
void Start ()
{
Material[] actualMaterials = GetComponent<Renderer>().materials;
Material actMaterial = actualMaterials[1];
Material actMaterial = actualMaterials[positionMaterial];

Texture2D texture;
switch (LocalizationManager.instance.getLenguage())
Expand Down

0 comments on commit 91f8717

Please sign in to comment.