HerlockSholmes
HerlockSholmes
CC#
Created by HerlockSholmes on 2/4/2024 in #help
Fully stuck on making a clickable game object system in unity
nevermind i just figured out that using OnMouseDown u can easily make a game object clickable
6 replies
CC#
Created by HerlockSholmes on 2/4/2024 in #help
Fully stuck on making a clickable game object system in unity
i really dont know why
6 replies
CC#
Created by HerlockSholmes on 2/4/2024 in #help
Fully stuck on making a clickable game object system in unity
but it just doesnt work
6 replies
CC#
Created by HerlockSholmes on 2/4/2024 in #help
Fully stuck on making a clickable game object system in unity
thats a script i wrote to test it out
6 replies
CC#
Created by HerlockSholmes on 2/4/2024 in #help
Fully stuck on making a clickable game object system in unity
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;

public class Water : MonoBehaviour, IClickable
{
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{
if(Input.GetMouseButtonDown(1))
{
Click();
}
}

void Drink()
{
gameObject.SetActive(false);
}

public void Click()
{
Drink();
}


}
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;

public class Water : MonoBehaviour, IClickable
{
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{
if(Input.GetMouseButtonDown(1))
{
Click();
}
}

void Drink()
{
gameObject.SetActive(false);
}

public void Click()
{
Drink();
}


}
6 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
yeah bet one sec, need to get my mic
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
im just tired asf and am new to WPF
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
theres defintetly a better way to do what im doing
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
No description
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
this happens
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
but when i do
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
when i press save 1
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
and i want it to go to the top button
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
No description
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
lol its kinda confusing but here ill send a screenshot
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
i cant understand why it wont work
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
-----------------------------
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
No description
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
No description
22 replies
CC#
Created by HerlockSholmes on 10/10/2023 in #help
Trying to make a save function on a note taking WPF app
CUSTOM CONTROL C#:
22 replies