Renommage de plein de scripts
This commit is contained in:
parent
3e25b694b8
commit
61ce3b75b0
@ -12379,7 +12379,13 @@ MonoBehaviour:
|
||||
myfield: {fileID: 52053180}
|
||||
timer: {fileID: 1765856482}
|
||||
img_bg: {fileID: 1053260633}
|
||||
timer_sec: 0
|
||||
max_timer: 0
|
||||
message:
|
||||
chatWindowScroll: {fileID: 0}
|
||||
chatWindow: {fileID: 0}
|
||||
createScrollListObject: {fileID: 0}
|
||||
createScrollList: {fileID: 0}
|
||||
--- !u!1 &1114027059
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -17777,6 +17783,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
text_chat: {fileID: 1176907833}
|
||||
scrollrect: {fileID: 1553687538}
|
||||
message_old:
|
||||
--- !u!1 &1556693429
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -22390,9 +22397,6 @@ GameObject:
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 1922246856}
|
||||
- 33: {fileID: 1922246855}
|
||||
- 65: {fileID: 1922246854}
|
||||
- 23: {fileID: 1922246853}
|
||||
- 114: {fileID: 1922246852}
|
||||
m_Layer: 0
|
||||
m_Name: MainPlayer
|
||||
@ -22420,49 +22424,6 @@ MonoBehaviour:
|
||||
rolename_strref: 0
|
||||
ultiID: 0
|
||||
align:
|
||||
--- !u!23 &1922246853
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 1922246851}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_Materials:
|
||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_SubsetIndices:
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_UseLightProbes: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_PreserveUVs: 1
|
||||
m_ImportantGI: 0
|
||||
m_AutoUVMaxDistance: .5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
--- !u!65 &1922246854
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 1922246851}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &1922246855
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 1922246851}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!4 &1922246856
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -2,7 +2,7 @@
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ManaItem : MonoBehaviour {
|
||||
public class Game_ManaItem : MonoBehaviour {
|
||||
|
||||
public Image manaImage;
|
||||
|
@ -4,7 +4,7 @@ using UnityEngine.EventSystems;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
|
||||
public class ManaStack : MonoBehaviour {
|
||||
public class Game_ManaStack : MonoBehaviour {
|
||||
|
||||
public GameObject manaItem;
|
||||
public Transform contentPanel;
|
||||
@ -26,7 +26,7 @@ public class ManaStack : MonoBehaviour {
|
||||
//crée un cristaux de mana. (appelée dix fois lors de la fonction Start).
|
||||
void createMana() {
|
||||
GameObject myNewButton = Instantiate(manaItem) as GameObject;
|
||||
ManaItem mana = myNewButton.GetComponent<ManaItem> ();
|
||||
Game_ManaItem mana = myNewButton.GetComponent<Game_ManaItem> ();
|
||||
mana.setDisabled();
|
||||
myNewButton.transform.SetParent(contentPanel);
|
||||
}
|
||||
@ -36,7 +36,7 @@ public class ManaStack : MonoBehaviour {
|
||||
public void addDaily(int nbDay) {
|
||||
nbDay--;
|
||||
GameObject manaItemObject;
|
||||
ManaItem manaButton;
|
||||
Game_ManaItem manaButton;
|
||||
|
||||
if(nbDay > manaMax - 1) {
|
||||
nbDay = manaMax - 1;
|
||||
@ -46,7 +46,7 @@ public class ManaStack : MonoBehaviour {
|
||||
|
||||
for(int i = 0; i <= nbDay; i++) {
|
||||
manaItemObject = GameObject.Find("ManaItem" + i);
|
||||
manaButton = manaItemObject.GetComponent<ManaItem> ();
|
||||
manaButton = manaItemObject.GetComponent<Game_ManaItem> ();
|
||||
manaButton.setEnabled();
|
||||
//GameObject.Find("ManaItem"+i).GetComponent("Button").int
|
||||
}
|
@ -1,12 +1,7 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Player : MonoBehaviour {
|
||||
|
||||
public Player(int _charID, int _roleID){
|
||||
SetCharacter(_charID);
|
||||
SetRole(_roleID);
|
||||
}
|
||||
public class Game_Player : MonoBehaviour {
|
||||
|
||||
void Awake(){
|
||||
//Debug
|
@ -1,7 +1,7 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class CameraController : MonoBehaviour {
|
||||
public class Gui_CameraController : MonoBehaviour {
|
||||
|
||||
public Vector3 targetPos;
|
||||
public Quaternion targetRot;
|
@ -3,7 +3,7 @@ using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
public class chat_scrollbar : MonoBehaviour {
|
||||
public class Gui_ChatScrollbar : MonoBehaviour {
|
||||
|
||||
public Scrollbar scrollbar;
|
||||
public InputField myfield;
|
@ -2,7 +2,7 @@
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ChatWindow : MonoBehaviour {
|
||||
public class Gui_ChatWindow : MonoBehaviour {
|
||||
|
||||
public Text text_chat;
|
||||
public ScrollRect scrollrect;
|
@ -2,11 +2,11 @@
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class Clock : MonoBehaviour {
|
||||
public class Gui_Clock : MonoBehaviour {
|
||||
|
||||
public GameObject clock;
|
||||
GameObject day_controller;
|
||||
DayController daycontroller;
|
||||
Gui_DayController daycontroller;
|
||||
int maxDay;
|
||||
int maxNight;
|
||||
|
||||
@ -14,7 +14,7 @@ public class Clock : MonoBehaviour {
|
||||
// Use this for initialization
|
||||
void Start() {
|
||||
day_controller = GameObject.Find("day_controller");
|
||||
daycontroller = day_controller.GetComponent<DayController> ();
|
||||
daycontroller = day_controller.GetComponent<Gui_DayController> ();
|
||||
|
||||
maxDay = daycontroller.maxDay;
|
||||
maxNight = daycontroller.maxNight;
|
@ -18,7 +18,7 @@ public class Notification {
|
||||
Button.ButtonClickedEvent clickEvent;
|
||||
}
|
||||
|
||||
public class CreateScrollList : MonoBehaviour {
|
||||
public class Gui_CreateScrollList : MonoBehaviour {
|
||||
|
||||
public GameObject sampleButton;
|
||||
public List<Item> itemList;
|
@ -1,7 +1,7 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class DayController : MonoBehaviour {
|
||||
public class Gui_DayController : MonoBehaviour {
|
||||
|
||||
public Animator machine;
|
||||
public int maxDay;
|
||||
@ -15,15 +15,15 @@ public class DayController : MonoBehaviour {
|
||||
|
||||
//appel de Window Chat
|
||||
GameObject chatWindowScroll;
|
||||
ChatWindow chatWindow;
|
||||
Gui_ChatWindow chatWindow;
|
||||
|
||||
//appel de CreateScrollList
|
||||
GameObject createScrollListObject;
|
||||
CreateScrollList createScrollList;
|
||||
Gui_CreateScrollList createScrollList;
|
||||
|
||||
//appel de ManaStack
|
||||
GameObject manaStackObject;
|
||||
ManaStack manaStack;
|
||||
Game_ManaStack manaStack;
|
||||
|
||||
|
||||
// Use this for initialization
|
||||
@ -40,11 +40,11 @@ public class DayController : MonoBehaviour {
|
||||
|
||||
//appel de CreateScrollList
|
||||
createScrollListObject = GameObject.Find("log_controller");
|
||||
createScrollList = createScrollListObject.GetComponent<CreateScrollList> ();
|
||||
createScrollList = createScrollListObject.GetComponent<Gui_CreateScrollList> ();
|
||||
|
||||
//appel de ManaStack
|
||||
manaStackObject = GameObject.Find("mana_controller");
|
||||
manaStack = manaStackObject.GetComponent<ManaStack> ();
|
||||
manaStack = manaStackObject.GetComponent<Game_ManaStack> ();
|
||||
|
||||
dayNb = 1;
|
||||
chatWindow.writeDay(dayNb);
|
@ -2,7 +2,7 @@
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class LogNotification : MonoBehaviour {
|
||||
public class Gui_LogNotification : MonoBehaviour {
|
||||
|
||||
public Text message;
|
||||
|
@ -3,10 +3,10 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class OnClickedMoveCamera : MonoBehaviour {
|
||||
public class Gui_OnClickedMoveCamera : MonoBehaviour {
|
||||
|
||||
public Transform destination;
|
||||
public CameraController camCtrl;
|
||||
public Gui_CameraController camCtrl;
|
||||
|
||||
private Color clrBase;
|
||||
private Color clrTarget;
|
@ -2,7 +2,7 @@
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class SampleButton : MonoBehaviour {
|
||||
public class Gui_SampleButton : MonoBehaviour {
|
||||
|
||||
public Button button;
|
||||
public Text nameLabel;
|
@ -2,7 +2,7 @@
|
||||
using UnityEngine.UI;
|
||||
using System.Collections;
|
||||
|
||||
public class TchatAnim : MonoBehaviour {
|
||||
public class Gui_TchatAnim : MonoBehaviour {
|
||||
|
||||
public Animator machine;
|
||||
public Text charac_nb;
|
||||
@ -15,11 +15,11 @@ public class TchatAnim : MonoBehaviour {
|
||||
|
||||
//appel de WindowChat
|
||||
GameObject chatWindowScroll;
|
||||
ChatWindow chatWindow;
|
||||
Gui_ChatWindow chatWindow;
|
||||
|
||||
//appel de TchatAnim
|
||||
GameObject createScrollListObject;
|
||||
CreateScrollList createScrollList;
|
||||
Gui_CreateScrollList createScrollList;
|
||||
|
||||
// Use this for initialization
|
||||
void Start() {
|
||||
@ -28,11 +28,11 @@ public class TchatAnim : MonoBehaviour {
|
||||
|
||||
//appel de WindowChat
|
||||
chatWindowScroll = GameObject.Find("ChatWindowScroll");
|
||||
chatWindow = chatWindowScroll.GetComponent<ChatWindow> ();
|
||||
chatWindow = chatWindowScroll.GetComponent<Gui_ChatWindow> ();
|
||||
|
||||
//appel de CreateScrollList
|
||||
createScrollListObject = GameObject.Find("log_controller");
|
||||
createScrollList = createScrollListObject.GetComponent<CreateScrollList> ();
|
||||
createScrollList = createScrollListObject.GetComponent<Gui_CreateScrollList> ();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user