Skip to content

Commit bd23b10

Browse files
committed
Navigasi kurang readme
1 parent c1d27c8 commit bd23b10

File tree

134 files changed

+19734
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+19734
-13
lines changed

.vscode/settings.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"files.exclude":
3+
{
4+
"**/.DS_Store":true,
5+
"**/.git":true,
6+
"**/.gitignore":true,
7+
"**/.gitmodules":true,
8+
"**/*.booproj":true,
9+
"**/*.pidb":true,
10+
"**/*.suo":true,
11+
"**/*.user":true,
12+
"**/*.userprefs":true,
13+
"**/*.unityproj":true,
14+
"**/*.dll":true,
15+
"**/*.exe":true,
16+
"**/*.pdf":true,
17+
"**/*.mid":true,
18+
"**/*.midi":true,
19+
"**/*.wav":true,
20+
"**/*.gif":true,
21+
"**/*.ico":true,
22+
"**/*.jpg":true,
23+
"**/*.jpeg":true,
24+
"**/*.png":true,
25+
"**/*.psd":true,
26+
"**/*.tga":true,
27+
"**/*.tif":true,
28+
"**/*.tiff":true,
29+
"**/*.3ds":true,
30+
"**/*.3DS":true,
31+
"**/*.fbx":true,
32+
"**/*.FBX":true,
33+
"**/*.lxo":true,
34+
"**/*.LXO":true,
35+
"**/*.ma":true,
36+
"**/*.MA":true,
37+
"**/*.obj":true,
38+
"**/*.OBJ":true,
39+
"**/*.asset":true,
40+
"**/*.cubemap":true,
41+
"**/*.flare":true,
42+
"**/*.mat":true,
43+
"**/*.meta":true,
44+
"**/*.prefab":true,
45+
"**/*.unity":true,
46+
"build/":true,
47+
"Build/":true,
48+
"Library/":true,
49+
"library/":true,
50+
"obj/":true,
51+
"Obj/":true,
52+
"ProjectSettings/":true,
53+
"temp/":true,
54+
"Temp/":true
55+
}
56+
}

Assets/1-Pengenalan-Konsep/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
using UnityEngine.UI;
5+
6+
7+
public class ScoreScript : MonoBehaviour
8+
{
9+
public int scoreValue = 0;
10+
Text score;
11+
// Start is called before the first frame update
12+
void Start()
13+
{
14+
score = GetComponent<Text>();
15+
}
16+
17+
// Update is called once per frame
18+
void Update()
19+
{
20+
score.text = "Score: " + scoreValue;
21+
}
22+
}

Assets/1-Pengenalan-Konsep/ScoreScript.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/3-Object-Collision/Player.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
public class Player : MonoBehaviour
6+
{
7+
8+
public int maxHealth = 100;
9+
public int currentHealth;
10+
11+
public HealthBar healthBar;
12+
13+
// Start is called before the first frame update
14+
void Start()
15+
{
16+
currentHealth = maxHealth;
17+
healthBar.SetMaxHealth(maxHealth);
18+
}
19+
20+
// Update is called once per frame
21+
void Update()
22+
{
23+
if (Input.GetKeyDown(KeyCode.Space))
24+
{
25+
TakeDamage(20);
26+
}
27+
}
28+
29+
void TakeDamage(int damage)
30+
{
31+
currentHealth -= damage;
32+
33+
healthBar.SetHealth(currentHealth);
34+
}
35+
}

Assets/3-Object-Collision/Player.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/5-Navigasi-Scene/Assets.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!241 &24100000
4+
AudioMixerController:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_Name: MainMixer
10+
m_OutputGroup: {fileID: 0}
11+
m_MasterGroup: {fileID: 24300002}
12+
m_Snapshots:
13+
- {fileID: 24500006}
14+
m_StartSnapshot: {fileID: 24500006}
15+
m_SuspendThreshold: -80
16+
m_EnableSuspend: 1
17+
m_UpdateMode: 0
18+
m_ExposedParameters:
19+
- guid: 3490eb8454203194c956c2f4efa73a89
20+
name: volume
21+
m_AudioMixerGroupViews:
22+
- guids:
23+
- 6c38bad39301d28459638bdfb4cd49f0
24+
name: View
25+
m_CurrentViewIndex: 0
26+
m_TargetSnapshot: {fileID: 24500006}
27+
--- !u!243 &24300002
28+
AudioMixerGroupController:
29+
m_ObjectHideFlags: 0
30+
m_CorrespondingSourceObject: {fileID: 0}
31+
m_PrefabInstance: {fileID: 0}
32+
m_PrefabAsset: {fileID: 0}
33+
m_Name: Master
34+
m_AudioMixer: {fileID: 24100000}
35+
m_GroupID: 6c38bad39301d28459638bdfb4cd49f0
36+
m_Children: []
37+
m_Volume: 3490eb8454203194c956c2f4efa73a89
38+
m_Pitch: 780a33d77988a67459a1e8f61654ee99
39+
m_Send: 00000000000000000000000000000000
40+
m_Effects:
41+
- {fileID: 24400004}
42+
m_UserColorIndex: 0
43+
m_Mute: 0
44+
m_Solo: 0
45+
m_BypassEffects: 0
46+
--- !u!244 &24400004
47+
AudioMixerEffectController:
48+
m_ObjectHideFlags: 3
49+
m_CorrespondingSourceObject: {fileID: 0}
50+
m_PrefabInstance: {fileID: 0}
51+
m_PrefabAsset: {fileID: 0}
52+
m_Name:
53+
m_EffectID: ca33fd51b4b736d4490bbb7394af6ed4
54+
m_EffectName: Attenuation
55+
m_MixLevel: 6dd8919310b612442bd0ed3a59d6b572
56+
m_Parameters: []
57+
m_SendTarget: {fileID: 0}
58+
m_EnableWetMix: 0
59+
m_Bypass: 0
60+
--- !u!245 &24500006
61+
AudioMixerSnapshotController:
62+
m_ObjectHideFlags: 0
63+
m_CorrespondingSourceObject: {fileID: 0}
64+
m_PrefabInstance: {fileID: 0}
65+
m_PrefabAsset: {fileID: 0}
66+
m_Name: Snapshot
67+
m_AudioMixer: {fileID: 24100000}
68+
m_SnapshotID: 463b773df71eec0448d7a296f5d0c1f6
69+
m_FloatValues:
70+
3490eb8454203194c956c2f4efa73a89: -80
71+
m_TransitionOverrides: {}

Assets/5-Navigasi-Scene/Assets/MainMixer.mixer.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading

0 commit comments

Comments
 (0)