Coder Social home page Coder Social logo

Sample scripts available? Error message when trying to call code: "'AppWindowUtility' in explicit interface declaration is not an interface" about appwindowutility HOT 11 CLOSED

emotion-engineer avatar emotion-engineer commented on July 17, 2024
Sample scripts available? Error message when trying to call code: "'AppWindowUtility' in explicit interface declaration is not an interface"

from appwindowutility.

Comments (11)

sator-imaging avatar sator-imaging commented on July 17, 2024

Would you tell me what Unity version you use?

from appwindowutility.

eschewary avatar eschewary commented on July 17, 2024

Would you tell me what Unity version you use?

2021.2.6f1

from appwindowutility.

eschewary avatar eschewary commented on July 17, 2024

@sator-imaging Have you seen this error before? I've included 'using SatorImaging.AppWindowUtility;', I don't have anything else in the script and the error pops up. How can I call the code? Can I see an example scene and component so I can see how it's supposed to be set up?

image

from appwindowutility.

sator-imaging avatar sator-imaging commented on July 17, 2024

@eschewary

Almostly achieved! try this.

using UnityEngine;
using SatorImaging.AppWindowUtility;

public class MyTest : MonoBehaviour
{
    void Start()
    {
        AppWindowUtility.Transparent = true;
    }
}

from appwindowutility.

eschewary avatar eschewary commented on July 17, 2024

@sator-imaging That's it! Thank you so much, I've been at this for a year haha this is amazing work. Do you have a tip or donate link? Also, I'm trying to get 'Transparent = true' and then 'FrameVisibility = true' as you suggest to remove background filling from application window, but it's not working, my window is not transparent if both are set to 'true'. How do I include checkboxes like you have inside the window? Do you have a sample script of that object in the gif?

from appwindowutility.

eschewary avatar eschewary commented on July 17, 2024

Here's an example of the frame color filling the window
transparent_frame_issue

from appwindowutility.

emotion-engineer avatar emotion-engineer commented on July 17, 2024

@sator-imaging Are you able to achieve a transparent background with the frame borders on, as the documentation suggests? If not I will create a separate issue and make a code bounty for it.

from appwindowutility.

sator-imaging avatar sator-imaging commented on July 17, 2024

@eschewary No.
currently, it can be done by using uGUI to create its own title bar graphic and frame border inside Unity app.

from appwindowutility.

emotion-engineer avatar emotion-engineer commented on July 17, 2024

@sator-imaging Thank you, I got it working. I am still seeing extreme mouse slowdown when I'm using a transparent app. Is there a solution here?

Also I'd like to support your work, do you have a donation link?

from appwindowutility.

emotion-engineer avatar emotion-engineer commented on July 17, 2024

@sator-imaging *Sorry, I seem to have fixed the mouse slowdown issue , or I'm not able to recreate it atm. I would still like to donate to you or your work! Drop a link if you see fit. Thank you again for your project!

from appwindowutility.

emotion-engineer avatar emotion-engineer commented on July 17, 2024

Closing as original issue has been addressed

from appwindowutility.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.